/*
 * @Author: daiqisheng 3273889106@qq.com
 * @Date: 2022-10-20 09:50:08
 * @LastEditors: daiqisheng 3273889106@qq.com
 * @LastEditTime: 2023-04-28 13:36:05
 * @FilePath: \vite-project\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import axios from "@/request/index.ts";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import { QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css';
const app = createApp(App);
// 两种注入方式  getCurrentInstance getCurrentInstance()?.appContext.config.globalProperties
// provide()/ inject()
app.component('QuillEditor', QuillEditor);
app.provide("axios", axios);
// 渲染器
app.use(router).use(ElementPlus).mount("#app");
